projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395ec62
)
(copy_part_of_rope): Replace non-glyph with 0.
author
Karl Heuer
<kwzh@gnu.org>
Fri, 8 Apr 1994 01:27:28 +0000
(
01:27
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Fri, 8 Apr 1994 01:27:28 +0000
(
01:27
+0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index db0515d04c5c66f97b2757d7c46d4bee57e7b331..85a7f968c956e7097c4eab1d63174c7376c3e2b5 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-1903,7
+1903,7
@@
copy_part_of_rope (f, to, s, from, len, face)
if (! FRAME_TERMCAP_P (f))
while (n--)
{
- int glyph =
XFASTINT (*fp
);
+ int glyph =
(INTEGERP (*fp) ? XFASTINT (*fp) : 0
);
int facecode;
if (FAST_GLYPH_FACE (glyph) == 0)
@@
-1928,7
+1928,7
@@
copy_part_of_rope (f, to, s, from, len, face)
#endif
while (n--)
{
- if (to >= s) *to =
XFASTINT (*fp
);
+ if (to >= s) *to =
(INTEGERP (*fp) ? XFASTINT (*fp) : 0
);
++to;
++fp;
}